Hides all applications other than the sender.
In order to hide all apps except the current one, the user can Command-Option-click an app's Dock icon.You must call this method from your app’s main thread.
NSWorkspace Class